package com.xjl.feign.controller;

import com.alibaba.fastjson2.JSON;
import com.xjl.common.web.Res.Result;
import com.xjl.feign.DTO.AiMessageResDTO;
import com.xjl.tools.HttpUtils;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

@Service
public class AiMessageResController {

    public Result getList(){
        String s = HttpUtils.httpGet("http://localhost:8091/alarm/ai/getList");
        return Result.ok(s);
    }

}

